package util.cvs.convert;

import com.opencsv.bean.AbstractBeanField;
import util.LocalDateTimeUtil;

/**
 * Create on 2019-07-26 22:58
 *
 * @author tianbl
 */
public class DateTimeConverter extends AbstractBeanField {

    @Override
    public Object convert(String value) {
        return LocalDateTimeUtil.parseTime(value.trim());
    }
}
